package modules.56lea.com
{
	import com.pqmvc.PQMgr;
	
	public class 56lea.comMgr extends PQMgr
	{
		public function 56lea.comMgr()
		{
			super();
			start();
		}
		override protected function start():void{
			regController(56lea.comController.NAME,56lea.comController);
			regProxy(56lea.comProxy.NAME,56lea.comProxy);
			isStart=true;
		}
		override protected function get EventList():Array{
			return [56lea.comCmd.SHOW_WINDOW,
						56lea.comCmd.CLOSE_WINDOW,
						56lea.comCmd.MODULE_NAME,
						56lea.comCmd.INIT_DATA];
		}
		override protected function execute(type:String, param:Object=null):void{
			switch(type){
				case 56lea.comCmd.INIT_DATA:
					proxy(56lea.comProxy.NAME,param,type);
				break;
				default:
					control(56lea.comController.NAME,param,type);
				break;
			}
		}
	}
}
